]> git.videolan.org Git - x264.git/commitdiff
Fix bug where satd was incorrectly used with subme<=1
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 23 May 2009 04:28:15 +0000 (21:28 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sun, 24 May 2009 19:24:53 +0000 (15:24 -0400)
Faster subme<=1 with i4x4 enabled.

encoder/analyse.c

index fa2102172f7b60539d57988757af86bd7bca2a90..7ec43c876cf6178a4f7826819eddb2bad8e1415e 100644 (file)
@@ -786,7 +786,7 @@ static void x264_mb_analyse_intra( x264_t *h, x264_mb_analysis_t *a, int i_satd_
             if( b_merged_satd && i_max >= 6 )
             {
                 int satd[9];
-                h->pixf.intra_satd_x3_4x4( p_src_by, p_dst_by, satd );
+                h->pixf.intra_mbcmp_x3_4x4( p_src_by, p_dst_by, satd );
                 satd[i_pred_mode] -= 3 * a->i_lambda;
                 for( i=2; i>=0; i-- )
                     COPY2_IF_LT( i_best, satd[i] + 4 * a->i_lambda,