[FFmpeg-cvslog] r21876 - trunk/libavcodec/h264.c

michael subversion
Thu Feb 18 13:37:43 CET 2010


Author: michael
Date: Thu Feb 18 13:37:43 2010
New Revision: 21876

Log:
Simplify deblock_left/top condition for deblocking_filter=2

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Thu Feb 18 13:13:21 2010	(r21875)
+++ trunk/libavcodec/h264.c	Thu Feb 18 13:37:43 2010	(r21876)
@@ -996,9 +996,8 @@ static inline void xchg_mb_border(H264Co
     }
 
     if(h->deblocking_filter == 2) {
-        mb_xy = h->mb_xy;
-        deblock_left = h->slice_table[mb_xy] == h->slice_table[mb_xy - 1];
-        deblock_top  = h->slice_table[mb_xy] == h->slice_table[h->top_mb_xy];
+        deblock_left = h->left_type[0];
+        deblock_top  = h->top_type;
     } else {
         deblock_left = (s->mb_x > 0);
         deblock_top =  (s->mb_y > !!MB_FIELD);



More information about the ffmpeg-cvslog mailing list