Mercurial > libavcodec.hg
changeset 10921:6d4f65057d0d libavcodec
Enable filter_mb_fast for CAVLC P slices.
author | michael |
---|---|
date | Mon, 18 Jan 2010 19:45:56 +0000 |
parents | d7e7c2d42732 |
children | 8945125b5ae6 |
files | h264_loopfilter.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264_loopfilter.c Mon Jan 18 19:45:02 2010 +0000 +++ b/h264_loopfilter.c Mon Jan 18 19:45:56 2010 +0000 @@ -335,7 +335,7 @@ 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]))) {