projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6242b1c
)
Optmize 8x8dct check used to skip some borders in the loop filter.
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 23 Jan 2010 13:54:02 +0000
(13:54 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 23 Jan 2010 13:54:02 +0000
(13:54 +0000)
4 cpu cycles faster.
Originally committed as revision 21396 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264_loopfilter.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_loopfilter.c
b/libavcodec/h264_loopfilter.c
index
e00baee
..
289f022
100644
(file)
--- a/
libavcodec/h264_loopfilter.c
+++ b/
libavcodec/h264_loopfilter.c
@@
-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)) {