[FFmpeg-devel] [PATCH] lavu: Add RIPEMD hashing

James Almer jamrial at gmail.com
Mon Sep 9 06:26:58 CEST 2013

On 15/06/13 6:21 AM, Michael Niedermayer wrote:
> It would be interresting to see what speed & size effect completely
> unrolling these loops has.
> but thats probably more for the future / after this patch is applied

Ok, just tried this and the speed boost is quite noticeable.
RIPEMD160 is now on par with SHA1 and RIPEMD128 is now slightly slower 
than MD5.
The downside is that the object almost doubled in size (At least with 
gcc -g -O3), so I'll add a CONFIG_SMALL version that will most assuredly 
be slow, but probably about 1/3 of the size.

I'll send both patches soon.

More information about the ffmpeg-devel mailing list