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

michael subversion
Mon Jan 18 17:29:16 CET 2010


Author: michael
Date: Mon Jan 18 17:29:16 2010
New Revision: 21289

Log:
PAFF CABAC P slices seem to work as well, so enable them for ff_h264_filter_mb_fast() too.

Modified:
   trunk/libavcodec/h264_loopfilter.c

Modified: trunk/libavcodec/h264_loopfilter.c
==============================================================================
--- trunk/libavcodec/h264_loopfilter.c	Mon Jan 18 17:16:22 2010	(r21288)
+++ trunk/libavcodec/h264_loopfilter.c	Mon Jan 18 17:29:16 2010	(r21289)
@@ -335,7 +335,7 @@ void ff_h264_filter_mb_fast( H264Context
 
     if(mb_x==0 || mb_y==mb_y_firstrow || !s->dsp.h264_loop_filter_strength || h->pps.chroma_qp_diff ||
        !(h->slice_type_nos == FF_I_TYPE ||
-         (CABAC && h->slice_type_nos == FF_P_TYPE && !FIELD_PICTURE) ||
+         (CABAC && h->slice_type_nos == FF_P_TYPE) ||
          (s->flags2 & CODEC_FLAG2_FAST)) ||
        (h->deblocking_filter == 2 && (h->slice_table[mb_xy] != h->slice_table[h->top_mb_xy] || //use slice_num
                                       h->slice_table[mb_xy] != h->slice_table[mb_xy - 1]))) {



More information about the ffmpeg-cvslog mailing list