From 1b59c20789dd95c06074bd521d7b1f15fa139b07 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Sun, 27 Jan 2008 13:39:09 +0000 Subject: [PATCH] remove a useless bit of me=umh (originally copied from JM, where it was used for something) git-svn-id: svn://svn.videolan.org/x264/trunk@731 df754926-b1dd-0310-bc7b-ec298dee348c --- encoder/me.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/encoder/me.c b/encoder/me.c index 61c6db2a..4242fe87 100644 --- a/encoder/me.c +++ b/encoder/me.c @@ -404,15 +404,7 @@ me_hex2: * we are still centered on the same place as the DIA2. is this desirable? */ CROSS( cross_start, i_me_range, i_me_range/2 ); - /* 5x5 ESA */ - omx = bmx; omy = bmy; - if( bcost != ucost2 ) - COST_MV_X4( 1, 0, 0, 1, -1, 0, 0,-1 ); - COST_MV_X4( 1, 1, -1, 1, -1,-1, 1,-1 ); - COST_MV_X4( 2,-1, 2, 0, 2, 1, 2, 2 ); - COST_MV_X4( 1, 2, 0, 2, -1, 2, -2, 2 ); - COST_MV_X4( -2, 1, -2, 0, -2,-1, -2,-2 ); - COST_MV_X4( -1,-2, 0,-2, 1,-2, 2,-2 ); + COST_MV_X4( -2,-2, -2,2, 2,-2, 2,2 ); /* hexagon grid */ omx = bmx; omy = bmy; -- 2.40.0