[x264-devel] commit: Make the #if' d out naive ESA actually match the real implementation (Loren Merritt )

git at videolan.org git at videolan.org
Wed Nov 10 10:12:32 CET 2010


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Thu Oct 28 13:29:42 2010 -0700| [75b018171f37dd82d5c63243c2580ec181513e41] | committer: Jason Garrett-Glaser 

Make the #if'd out naive ESA actually match the real implementation

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=75b018171f37dd82d5c63243c2580ec181513e41
---

 encoder/me.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/me.c b/encoder/me.c
index 89d7ee1..3f8d8e5 100644
--- a/encoder/me.c
+++ b/encoder/me.c
@@ -583,7 +583,7 @@ void x264_me_search_ref( x264_t *h, x264_me_t *m, int16_t (*mvc)[2], int i_mvc,
 #if 0
             /* plain old exhaustive search */
             for( int my = min_y; my <= max_y; my++ )
-                for( int mx = min_x; mx <= max_x; mx++ )
+                for( int mx = min_x; mx < min_x + width; mx++ )
                     COST_MV( mx, my );
 #else
             /* successive elimination by comparing DC before a full SAD,



More information about the x264-devel mailing list