Mercurial > libavcodec.hg
changeset 11036:faedf5cdb8c3 libavcodec
Simplify first edge filter condition.
author | michael |
---|---|
date | Thu, 28 Jan 2010 02:41:52 +0000 |
parents | 4debec8a15fa |
children | dfc8f928cc8a |
files | h264_loopfilter.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/h264_loopfilter.c Thu Jan 28 02:20:31 2010 +0000 +++ b/h264_loopfilter.c Thu Jan 28 02:41:52 2010 +0000 @@ -440,9 +440,7 @@ // how often to recheck mv-based bS when iterating along each edge const int mask_par0 = mb_type & (MB_TYPE_16x16 | (MB_TYPE_8x16 >> dir)); - if(!(h->slice_table[mbm_xy] == 0xFFFF - || first_vertical_edge_done - || (h->deblocking_filter==2 && h->slice_table[mbm_xy] != h->slice_num))){ + if(mbm_type && !first_vertical_edge_done){ if (FRAME_MBAFF && (dir == 1) && ((mb_y&1) == 0) && IS_INTERLACED(mbm_type&~mb_type)