vp9_temporal_filter: convert blk_fw[0] || ... to |
authorJames Zern <jzern@google.com>
Fri, 1 Feb 2019 01:52:48 +0000 (17:52 -0800)
committerJames Zern <jzern@google.com>
Fri, 1 Feb 2019 01:52:48 +0000 (17:52 -0800)
this matches what is done to reduce the cost of the test of filter
values in convolve.

Change-Id: I692b58801a962b593b810c1d1dac42f72c78caf9

vp9/encoder/vp9_temporal_filter.c

index 5d4583fc5d97f2dc6b0c7653dd1423f7b28131eb..c622fd88b88bb8ced33a5f4a462a262916fdcbad 100644 (file)
@@ -917,7 +917,7 @@ void vp9_temporal_filter_iterate_row_c(VP9_COMP *cpi, ThreadData *td,
         }
       }
 
-      if (blk_fw[0] || blk_fw[1] || blk_fw[2] || blk_fw[3]) {
+      if (blk_fw[0] | blk_fw[1] | blk_fw[2] | blk_fw[3]) {
         // Construct the predictors
         temporal_filter_predictors_mb_c(
             mbd, frames[frame]->y_buffer + mb_y_offset,