[x264-devel] commit: Activate intra_sad_x3_8x8c in lookahead (Jason Garrett-Glaser )

git version control git at videolan.org
Sat Apr 4 04:47:16 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue Mar 31 10:36:57 2009 -0700| [3f9ba82b9788231c879d31d9c4c8ebf4518d07fe] | committer: Jason Garrett-Glaser 

Activate intra_sad_x3_8x8c in lookahead

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

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

diff --git a/encoder/slicetype.c b/encoder/slicetype.c
index c9666cf..f795d4c 100644
--- a/encoder/slicetype.c
+++ b/encoder/slicetype.c
@@ -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
             {



More information about the x264-devel mailing list