[FFmpeg-cvslog] r16183 - trunk/libavcodec/h264.c
michael
subversion
Wed Dec 17 03:53:03 CET 2008
Author: michael
Date: Wed Dec 17 03:53:03 2008
New Revision: 16183
Log:
Replace != 0 || check by |
3 cpu cycles faster
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Wed Dec 17 03:53:03 2008
@@ -6383,8 +6383,8 @@ static void av_always_inline filter_mb_d
int b_idx= 8 + 4 + x + 8*y;
int bn_idx= b_idx - (dir ? 8:1);
- if( h->non_zero_count_cache[b_idx] != 0 ||
- h->non_zero_count_cache[bn_idx] != 0 ) {
+ if( h->non_zero_count_cache[b_idx] |
+ h->non_zero_count_cache[bn_idx] ) {
bS[i] = 2;
}
else if(!mv_done)
More information about the ffmpeg-cvslog
mailing list