[Ffmpeg-cvslog] r6735 - trunk/libavcodec/h264.c

michael subversion
Thu Oct 19 16:54:34 CEST 2006


Author: michael
Date: Thu Oct 19 16:54:34 2006
New Revision: 6735

Modified:
   trunk/libavcodec/h264.c

Log:
slightly faster decode_cabac_mb_mvd()


Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Thu Oct 19 16:54:34 2006
@@ -6003,8 +6003,7 @@
                 mvd += 1 << k;
         }
     }
-    if( get_cabac_bypass( &h->cabac ) )  return -mvd;
-    else                                 return  mvd;
+    return get_cabac_bypass_sign( &h->cabac, -mvd );
 }
 
 static int inline get_cabac_cbf_ctx( H264Context *h, int cat, int idx ) {




More information about the ffmpeg-cvslog mailing list