[FFmpeg-cvslog] r21497 - trunk/libavcodec/h264_loopfilter.c

michael subversion
Thu Jan 28 03:41:52 CET 2010


Author: michael
Date: Thu Jan 28 03:41:52 2010
New Revision: 21497

Log:
Simplify first edge filter condition.

Modified:
   trunk/libavcodec/h264_loopfilter.c

Modified: trunk/libavcodec/h264_loopfilter.c
==============================================================================
--- trunk/libavcodec/h264_loopfilter.c	Thu Jan 28 03:20:31 2010	(r21496)
+++ trunk/libavcodec/h264_loopfilter.c	Thu Jan 28 03:41:52 2010	(r21497)
@@ -440,9 +440,7 @@ static av_always_inline void filter_mb_d
     // how often to recheck mv-based bS when iterating along each edge
     const int mask_par0 = mb_type & (MB_TYPE_16x16 | (MB_TYPE_8x16 >> dir));
 
-    if(!(h->slice_table[mbm_xy] == 0xFFFF
-               || first_vertical_edge_done
-               || (h->deblocking_filter==2 && h->slice_table[mbm_xy] != h->slice_num))){
+    if(mbm_type && !first_vertical_edge_done){
 
         if (FRAME_MBAFF && (dir == 1) && ((mb_y&1) == 0)
             && IS_INTERLACED(mbm_type&~mb_type)



More information about the ffmpeg-cvslog mailing list