# HG changeset patch # User michael # Date 1264254842 0 # Node ID 2e8fbfc278d5f9eefaf3376ccee4dadfa6edb55c # Parent c1cccc058c7a8ae9cb24b999c7f9da75eddeb25b Optmize 8x8dct check used to skip some borders in the loop filter. 4 cpu cycles faster. diff -r c1cccc058c7a -r 2e8fbfc278d5 h264_loopfilter.c --- 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)) {