Commit 88867b7a authored by michael's avatar michael

Replace != 0 || check by |

3 cpu cycles faster


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16183 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c87b7888
...@@ -6383,8 +6383,8 @@ static void av_always_inline filter_mb_dir(H264Context *h, int mb_x, int mb_y, u ...@@ -6383,8 +6383,8 @@ static void av_always_inline filter_mb_dir(H264Context *h, int mb_x, int mb_y, u
int b_idx= 8 + 4 + x + 8*y; int b_idx= 8 + 4 + x + 8*y;
int bn_idx= b_idx - (dir ? 8:1); int bn_idx= b_idx - (dir ? 8:1);
if( h->non_zero_count_cache[b_idx] != 0 || if( h->non_zero_count_cache[b_idx] |
h->non_zero_count_cache[bn_idx] != 0 ) { h->non_zero_count_cache[bn_idx] ) {
bS[i] = 2; bS[i] = 2;
} }
else if(!mv_done) else if(!mv_done)
......
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