Commit 47895afd authored by michael's avatar michael

Optmize 8x8dct check used to skip some borders in the loop filter.

4 cpu cycles faster.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21396 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 253ddedc
......@@ -491,7 +491,7 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u
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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment