]> git.videolan.org Git - x264.git/commitdiff
Activate intra_sad_x3_8x8c in lookahead
authorJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 31 Mar 2009 17:36:57 +0000 (10:36 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 31 Mar 2009 17:36:57 +0000 (10:36 -0700)
encoder/slicetype.c

index c9666cf10046a3d528ee0201edaae90653b31cfb..f795d4c1db526aa456d632776c06ebf30ead10be 100644 (file)
@@ -200,12 +200,12 @@ lowres_intra_mb:
                 pix[i*FDEC_STRIDE] = src[i*i_stride];
             pix++;
 
-            if( h->pixf.intra_satd_x3_8x8c && h->pixf.mbcmp[0] == h->pixf.satd[0] )
+            if( h->pixf.intra_mbcmp_x3_8x8c )
             {
-                h->pixf.intra_satd_x3_8x8c( h->mb.pic.p_fenc[0], pix, satds );
+                h->pixf.intra_mbcmp_x3_8x8c( h->mb.pic.p_fenc[0], pix, satds );
                 h->predict_8x8c[I_PRED_CHROMA_P]( pix );
                 satds[I_PRED_CHROMA_P] =
-                    h->pixf.satd[PIXEL_8x8]( pix, FDEC_STRIDE, h->mb.pic.p_fenc[0], FENC_STRIDE );
+                    h->pixf.mbcmp[PIXEL_8x8]( pix, FDEC_STRIDE, h->mb.pic.p_fenc[0], FENC_STRIDE );
             }
             else
             {