[x264-devel] commit: Remove dead code in slicetype.c (Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Thu Jul 29 08:17:03 CEST 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Wed Jul 28 11:42:06 2010 -0700| [a4cd3171e70f814f27ac53933a2897d34aaa8011] | committer: Jason Garrett-Glaser 

Remove dead code in slicetype.c

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

 encoder/slicetype.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/encoder/slicetype.c b/encoder/slicetype.c
index 2ff9d23..e1a6803 100644
--- a/encoder/slicetype.c
+++ b/encoder/slicetype.c
@@ -426,16 +426,7 @@ lowres_intra_mb:
             pix[i*FDEC_STRIDE] = src[i*i_stride];
         pix++;
 
-        if( h->pixf.intra_mbcmp_x3_8x8c )
-            h->pixf.intra_mbcmp_x3_8x8c( h->mb.pic.p_fenc[0], pix, satds );
-        else
-        {
-            for( int i = 0; i < 3; i++ )
-            {
-                h->predict_8x8c[i]( pix );
-                satds[i] = h->pixf.mbcmp[PIXEL_8x8]( pix, FDEC_STRIDE, h->mb.pic.p_fenc[0], FENC_STRIDE );
-            }
-        }
+        h->pixf.intra_mbcmp_x3_8x8c( h->mb.pic.p_fenc[0], pix, satds );
         int i_icost = X264_MIN3( satds[0], satds[1], satds[2] );
 
         if( h->param.analyse.i_subpel_refine > 1 )



More information about the x264-devel mailing list