[NORMATIVE] Add sequence header control for dual filter

Add a sequence header control to turn on and off the use of
dual direction interpolation filter. This allows the encoder to
select and code only one filter type per coding block, when
turning off the dual filter option.

Thanks to Ankur and the Nvidia team for identifying the potential
issues for hw encoder and proposing the solution.

BUG=aomedia:1326

Change-Id: Icfb82940d85c5f77406f613be7fa829763289514
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index 7bb540d..ed77a85 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -702,6 +702,7 @@
         assert(av1_extract_interp_filter(mbmi->interp_filters, dir) ==
                EIGHTTAP_REGULAR);
       }
+      if (cm->seq_params.enable_dual_filter == 0) return;
     }
   }
 }
@@ -3098,6 +3099,8 @@
 
   write_sb_size(seq_params, wb);
 
+  aom_wb_write_bit(wb, seq_params->enable_dual_filter);
+
   if (seq_params->force_screen_content_tools == 2) {
     aom_wb_write_bit(wb, 1);
   } else {