[FFmpeg-devel] [PATCH 1/2] aacenc: use the decoder's lcg PRNG

Michael Niedermayer michael at niedermayer.cc
Sat Oct 8 23:44:37 EEST 2016


On Sat, Oct 08, 2016 at 04:20:30PM +0100, Rostislav Pehlivanov wrote:
> Using lfg was an overkill in this case where the random numbers
> were only used for encoder descisions. Should increase result
> uniformity between different FPUs and gives a slight speedup.
> 
> Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
> ---
>  libavcodec/aaccoder.c     |  8 +++-----
>  libavcodec/aacenc.c       |  2 +-
>  libavcodec/aacenc.h       |  2 --
>  libavcodec/aacenc_utils.h | 13 +++++++++++++
>  4 files changed, 17 insertions(+), 8 deletions(-)

probably ok,
none of the fate tests change

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

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161008/b2cfdf38/attachment.sig>


More information about the ffmpeg-devel mailing list