add horizontal tile dependence support

Change-Id: I1050b69045407381d4626b65a0bf6f35957a66f4
diff --git a/aomenc.c b/aomenc.c
index bbbf5c1..e667348 100644
--- a/aomenc.c
+++ b/aomenc.c
@@ -376,6 +376,10 @@
 static const arg_def_t tile_rows =
     ARG_DEF(NULL, "tile-rows", 1,
             "Number of tile rows to use, log2 (set to 0 while threads > 1)");
+#if CONFIG_DEPENDENT_HORZTILES
+static const arg_def_t tile_dependent_rows =
+    ARG_DEF(NULL, "tile-dependent-rows", 1, "Enable dependent Tile rows");
+#endif
 #if CONFIG_LOOPFILTERING_ACROSS_TILES
 static const arg_def_t tile_loopfilter = ARG_DEF(
     NULL, "tile-loopfilter", 1, "Enable loop filter across tile boundary");
@@ -476,6 +480,9 @@
                                        &static_thresh,
                                        &tile_cols,
                                        &tile_rows,
+#if CONFIG_DEPENDENT_HORZTILES
+                                       &tile_dependent_rows,
+#endif
 #if CONFIG_LOOPFILTERING_ACROSS_TILES
                                        &tile_loopfilter,
 #endif  // CONFIG_LOOPFILTERING_ACROSS_TILES
@@ -521,6 +528,9 @@
                                         AOME_SET_STATIC_THRESHOLD,
                                         AV1E_SET_TILE_COLUMNS,
                                         AV1E_SET_TILE_ROWS,
+#if CONFIG_DEPENDENT_HORZTILES
+                                        AV1E_SET_TILE_DEPENDENT_ROWS,
+#endif
 #if CONFIG_LOOPFILTERING_ACROSS_TILES
                                         AV1E_SET_TILE_LOOPFILTER,
 #endif  // CONFIG_LOOPFILTERING_ACROSS_TILES