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

Michael Niedermayer michaelni at gmx.at
Mon Jan 21 14:47:41 CET 2013


On Sat, Jan 05, 2013 at 10:26:07PM +0100, madshi wrote:
> 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.

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130121/78655755/attachment.asc>


More information about the ffmpeg-devel mailing list