Mercurial > libavcodec.hg
changeset 10969:2e8fbfc278d5 libavcodec
Optmize 8x8dct check used to skip some borders in the loop filter.
4 cpu cycles faster.
author | michael |
---|---|
date | Sat, 23 Jan 2010 13:54:02 +0000 |
parents | c1cccc058c7a |
children | eb5f0ccb6a98 |
files | h264_loopfilter.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264_loopfilter.c Sat Jan 23 13:49:09 2010 +0000 +++ b/h264_loopfilter.c Sat Jan 23 13:54:02 2010 +0000 @@ -491,7 +491,7 @@ DECLARE_ALIGNED_8(int16_t, bS)[4]; int qp; - if( (edge&1) && IS_8x8DCT(mb_type) ) + if( IS_8x8DCT(mb_type & (edge<<24)) ) // (edge&1) && IS_8x8DCT(mb_type) continue; if( IS_INTRA(mb_type|mbn_type)) {