changeset 10939:5660eac25fb4 libavcodec

Reenable ff_h264_filter_mb_fast() for all slices it supported before.
author michael
date Tue, 19 Jan 2010 16:43:57 +0000
parents 2a50b786b888
children 563cb9b1a9b7
files h264_loopfilter.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/h264_loopfilter.c	Tue Jan 19 16:40:36 2010 +0000
+++ b/h264_loopfilter.c	Tue Jan 19 16:43:57 2010 +0000
@@ -320,9 +320,6 @@
     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 ||
-       !(h->slice_type_nos == FF_I_TYPE ||
-         h->slice_type_nos == FF_P_TYPE ||
-         (s->flags2 & CODEC_FLAG2_FAST)) ||
        (h->deblocking_filter == 2 && (h->slice_num != h->slice_table[h->top_mb_xy] ||
                                       h->slice_num != h->slice_table[mb_xy - 1]))) {
         ff_h264_filter_mb(h, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize);