From 2d603902f3570de81a26b20bf056c30597be08a2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 2 Apr 2010 11:06:29 +0000 Subject: 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. Originally committed as revision 22773 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/motion_est.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index 01ba6c63a7..17954b52f6 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -1475,11 +1475,11 @@ static inline int bidir_refine(MpegEncContext * s, int mb_x, int mb_y) const int ymin= c->ymin<xmax<ymax<