]> granicus.if.org Git - libx264/commitdiff
Remove dead code in slicetype.c
authorFiona Glaser <fiona@x264.com>
Wed, 28 Jul 2010 18:42:06 +0000 (11:42 -0700)
committerFiona Glaser <fiona@x264.com>
Thu, 29 Jul 2010 02:30:30 +0000 (19:30 -0700)
encoder/slicetype.c

index b5153842fcf602b4f467a7903c1f41b5a4aa6d19..2bc3ee939bc26bf92b0357247a5cc42406101627 100644 (file)
@@ -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 )