[x264-devel] checkasm: Fix V210 reporting

Henrik Gramner git at videolan.org
Sat Dec 20 21:10:41 CET 2014


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sat Nov 29 18:47:52 2014 +0100| [4e97ca566fdf6cd36281e26ee68f64993f4751a1] | committer: Henrik Gramner

checkasm: Fix V210 reporting

It would previously report FAILED if any of the earlier plane_copy tests failed.

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

 tools/checkasm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/checkasm.c b/tools/checkasm.c
index a0e8810..a4cb97e 100644
--- a/tools/checkasm.c
+++ b/tools/checkasm.c
@@ -1496,7 +1496,7 @@ static int check_mc( int cpu_ref, int cpu_new )
     if( mc_a.plane_copy_deinterleave_v210 != mc_ref.plane_copy_deinterleave_v210 )
     {
         set_func_name( "plane_copy_deinterleave_v210" );
-        used_asm = 1;
+        ok = 1; used_asm = 1;
         for( int i = 0; i < sizeof(plane_specs)/sizeof(*plane_specs); i++ )
         {
             int w = (plane_specs[i].w + 1) >> 1;
@@ -1517,8 +1517,8 @@ static int check_mc( int cpu_ref, int cpu_new )
                     break;
                 }
         }
+        report( "v210 :" );
     }
-    report( "v210 :" );
 
     if( mc_a.hpel_filter != mc_ref.hpel_filter )
     {



More information about the x264-devel mailing list