Commit Graph

4 Commits

Author SHA1 Message Date
Michael Niedermayer f39e8b03c8 1000l typo my new PRNG converged to -1.
Originally committed as revision 14479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 23:17:41 +00:00
Michael Niedermayer 310d442456 Add a multiplicative LFG for those thinking the additive is not good
enough, just 4 lines of code.

Originally committed as revision 14478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 23:08:07 +00:00
Michael Niedermayer 2cf3c8632c Document av_lfg_get().
Originally committed as revision 14461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:47:06 +00:00
Michael Niedermayer 2754fe8ba5 Simple lagged fibonacci PRNG.
3.5 times faster than our mersene twister.
10 times less memory needed. (=less cache trashing)

Originally committed as revision 14458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:35:04 +00:00