[FFmpeg-cvslog] r21315 - trunk/libavcodec/h264.h

michael subversion
Tue Jan 19 04:14:45 CET 2010


Author: michael
Date: Tue Jan 19 04:14:45 2010
New Revision: 21315

Log:
Dont waste time initializing stuff for deblocking intra mbs, none of
it is used.

Modified:
   trunk/libavcodec/h264.h

Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h	Tue Jan 19 03:28:26 2010	(r21314)
+++ trunk/libavcodec/h264.h	Tue Jan 19 04:14:45 2010	(r21315)
@@ -806,6 +806,8 @@ static av_always_inline int fill_caches(
            && (top_xy   < 0 || ((qp + s->current_picture.qscale_table[top_xy ] + 1)>>1) <= qp_thresh)){
             return 1;
         }
+        if(IS_INTRA(mb_type))
+            return 0;
 
         *((uint64_t*)&h->non_zero_count_cache[0+8*1])= *((uint64_t*)&h->non_zero_count[mb_xy][ 0]);
         *((uint64_t*)&h->non_zero_count_cache[0+8*2])= *((uint64_t*)&h->non_zero_count[mb_xy][ 8]);



More information about the ffmpeg-cvslog mailing list