[SCM] libav/experimental: Enable filter_mb_fast for CAVLC P slices.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:57:58 UTC 2013


The following commit has been merged in the experimental branch:
commit bce6a1e7c78f27f40b8ee2a9ca6c88b5db4c8386
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Jan 18 19:45:56 2010 +0000

    Enable filter_mb_fast for CAVLC P slices.
    
    Originally committed as revision 21291 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c
index 27cc97d..c7b4431 100644
--- a/libavcodec/h264_loopfilter.c
+++ b/libavcodec/h264_loopfilter.c
@@ -335,7 +335,7 @@ void ff_h264_filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y,
 
     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) ||
+         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]))) {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list