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

michael subversion
Mon Dec 15 02:24:04 CET 2008


Author: michael
Date: Mon Dec 15 02:24:04 2008
New Revision: 16141

Log:
Enable filter_mb_fast if CODEC_FLAG2_FAST is set.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Mon Dec 15 02:24:04 2008
@@ -6119,7 +6119,7 @@ static void filter_mb_fast( H264Context 
     mb_xy = h->mb_xy;
 
     if(mb_x==0 || mb_y==mb_y_firstrow || !s->dsp.h264_loop_filter_strength || h->pps.chroma_qp_diff ||
-1 ||
+        !(s->flags2 & CODEC_FLAG2_FAST) || //FIXME filter_mb_fast is broken, thus hasto be, but should not under CODEC_FLAG2_FAST
        (h->deblocking_filter == 2 && (h->slice_table[mb_xy] != h->slice_table[h->top_mb_xy] ||
                                       h->slice_table[mb_xy] != h->slice_table[mb_xy - 1]))) {
         filter_mb(h, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize);




More information about the ffmpeg-cvslog mailing list