[FFmpeg-cvslog] r22773 - trunk/libavcodec/motion_est.c
Alex Converse
alex.converse
Fri Apr 2 13:56:09 CEST 2010
On Fri, Apr 2, 2010 at 12:42 PM, Jason Garrett-Glaser
<darkshikari at gmail.com> wrote:
> On Fri, Apr 2, 2010 at 4:06 AM, michael <subversion at mplayerhq.hu> wrote:
>> Author: michael
>> Date: Fri Apr ?2 13:06:29 2010
>> New Revision: 22773
>>
>> Log:
>> Reduce the size of the bidir refine hashtable from 4096 to 256 and
>> change the hash function to something more sane and simple.
>> about 1/3 faster, no meassureable change in psnr or size and i gues
>> its even same md5 with my test file but i forgot testing that.
>
> x264 uses a bitfield (one bit per slot) for [8][8][8] instead of
> [8][8][8][8], which should be enough to provide these gains without
> introducing costly multiplies.
>
> Maybe try that instead?
>
> Also, I hereby LGPL the memzero_aligned_mmx and memzero_aligned_sse
> functions in x264 if you want to use those for faster zeroing of the
> hashtable. ?They're utterly trivial though.
>
There are some big memset zeros in sbrdec that could probably benefit
from those.
More information about the ffmpeg-cvslog
mailing list