[Ffmpeg-devel] Random single bits using av_random() ?

Michael Niedermayer michaelni
Mon Mar 12 19:20:50 CET 2007


On Mon, Mar 12, 2007 at 02:48:04PM +0100, Ian Braithwaite wrote:
> Hi,
> Could anyone tell me the best way to extract single random bits
> >from av_random()?
> MSB, LSB, all 32 bits - one at a time ... ?

depends on what you want to do with them, if speed matter use all
if not use whichever is easiest

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070312/a38c2a85/attachment.pgp>

More information about the ffmpeg-devel mailing list