]> granicus.if.org Git - libvpx/commitdiff
Use write_modes_b_wrapper throughout.
authorGeza Lore <gezalore@gmail.com>
Wed, 30 Mar 2016 09:56:14 +0000 (10:56 +0100)
committerAlex Converse <aconverse@google.com>
Wed, 30 Mar 2016 22:26:54 +0000 (22:26 +0000)
Change-Id: Ifbef3aa6e6b0dbc3701a9ef91b8b685a918d84f4

vp10/encoder/bitstream.c

index 721a7a6dab8d950d6946e1b92e59665d6097b10a..85a930590989864d1dbaa9492acacaa5f060851d 100644 (file)
@@ -1760,71 +1760,35 @@ static void write_modes_sb(VP10_COMP *const cpi,
         break;
 #if CONFIG_EXT_PARTITION_TYPES
       case PARTITION_HORZ_A:
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row, mi_col);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row, mi_col + bs);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row + bs, mi_col);
         break;
       case PARTITION_HORZ_B:
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row, mi_col);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row + bs, mi_col);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row + bs, mi_col + bs);
         break;
       case PARTITION_VERT_A:
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row, mi_col);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row + bs, mi_col);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row, mi_col + bs);
         break;
       case PARTITION_VERT_B:
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row, mi_col);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row, mi_col + bs);
-        write_modes_b(cpi, tile, w, tok, tok_end,
-#if CONFIG_SUPERTX
-                      supertx_enabled,
-#endif
+        write_modes_b_wrapper(cpi, tile, w, ans, tok, tok_end, supertx_enabled,
                       mi_row + bs, mi_col + bs);
         break;
 #endif  // CONFIG_EXT_PARTITION_TYPES