[FFmpeg-cvslog] r25347 - trunk/libavcodec/a64multienc.c

bindhammer subversion
Tue Oct 5 14:14:27 CEST 2010


Author: bindhammer
Date: Tue Oct  5 14:14:27 2010
New Revision: 25347

Log:
Skip unnecessary calculations in 4col-mode.

Modified:
   trunk/libavcodec/a64multienc.c

Modified: trunk/libavcodec/a64multienc.c
==============================================================================
--- trunk/libavcodec/a64multienc.c	Tue Oct  5 14:14:23 2010	(r25346)
+++ trunk/libavcodec/a64multienc.c	Tue Oct  5 14:14:27 2010	(r25347)
@@ -138,7 +138,7 @@ static void render_charset(AVCodecContex
             if(INTERLACED) charset[y+0x800] = row2;
         }
         /* do we need to adjust pixels? */
-        if (highdiff > 0 && lowdiff > 0) {
+        if (highdiff > 0 && lowdiff > 0 && c->mc_use_5col) {
             if (lowdiff > highdiff) {
                 for (x = 0; x < 32; x++)
                     best_cb[x] = FFMIN(c->mc_luma_vals[3], best_cb[x]);



More information about the ffmpeg-cvslog mailing list