Mercurial > libavcodec.hg
diff roqvideo.h @ 9154:aa459306ee59 libavcodec
Use FLG pseudo-random number generator in RoQ and ELBG
author | vitor |
---|---|
date | Sun, 08 Mar 2009 17:43:12 +0000 |
parents | 1fa3e8a72ca5 |
children |
line wrap: on
line diff
--- a/roqvideo.h Sun Mar 08 16:37:57 2009 +0000 +++ b/roqvideo.h Sun Mar 08 17:43:12 2009 +0000 @@ -22,7 +22,7 @@ #ifndef AVCODEC_ROQVIDEO_H #define AVCODEC_ROQVIDEO_H -#include "libavutil/random.h" +#include "libavutil/lfg.h" #include "avcodec.h" #include "dsputil.h" @@ -58,7 +58,7 @@ int width, height; /* Encoder only data */ - AVRandomState randctx; + AVLFG randctx; uint64_t lambda; motion_vect *this_motion4;